package com.greenhou.dao;

import com.greenhou.pojo.User;

import java.util.List;

/**
 * @ClassName UserDao
 * @Description 用户Dao
 * @Author YR
 * @Date 2020/7/6 22:41
 * @Version 1.0
 */
public interface UserDao {

    /**
     * @Description 获取所有用户信息
     * @Params []
     * @return java.util.List<com.greenhou.pojo.User>
     * @Author yeren
     * @Date 2020/7/6 22:40        
     */
    List<User> queryUserList() throws Exception;

    /**
     * @Description 根据参数获取用户信息
     * @Params [user]
     * @return com.greenhou.pojo.User
     * @Author yeren
     * @Date 2020/7/6 22:40
     */
    User queryUserByCondition(User user) throws Exception;
}
